package com.ruoyi.shanghuliebiao2.mapper;

import java.util.List;
import com.ruoyi.shanghuliebiao2.domain.CheDrawal;

/**
 * 商家提现记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-01-06
 */
public interface CheDrawalMapper 
{
    /**
     * 查询商家提现记录
     * 
     * @param id 商家提现记录主键
     * @return 商家提现记录
     */
    public CheDrawal selectCheDrawalById(Long id);

    /**
     * 查询商家提现记录列表
     * 
     * @param cheDrawal 商家提现记录
     * @return 商家提现记录集合
     */
    public List<CheDrawal> selectCheDrawalList(CheDrawal cheDrawal);

    /**
     * 新增商家提现记录
     * 
     * @param cheDrawal 商家提现记录
     * @return 结果
     */
    public int insertCheDrawal(CheDrawal cheDrawal);

    /**
     * 修改商家提现记录
     * 
     * @param cheDrawal 商家提现记录
     * @return 结果
     */
    public int updateCheDrawal(CheDrawal cheDrawal);

    /**
     * 删除商家提现记录
     * 
     * @param id 商家提现记录主键
     * @return 结果
     */
    public int deleteCheDrawalById(Long id);

    /**
     * 批量删除商家提现记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCheDrawalByIds(Long[] ids);
}
